<?php

class phone extends  commodity
{
    public $brand;
    public $place;
    function self_information()
    {
        echo "这个商品是".$this->brand.$this->name.",单件价格为".$this->price."元，出产地是".$this->place."！<br>";
    }

}